package top.lingkang.finalsession.jakarta;

import jakarta.servlet.http.HttpServletRequest;
import top.lingkang.finalsession.FinalSessionConfig;
import top.lingkang.finalsession.core.IdGenerate;

import java.util.UUID;

/**
 * @author lingkang
 * Created by 2024/3/10
 */
public class FinalIdGenerateJakarta implements IdGenerate<HttpServletRequest> {
    @Override
    public String generateId(HttpServletRequest request, FinalSessionConfig config) {
        return UUID.randomUUID().toString();
    }
}
